SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1c685219c6eaca4407a72f9dc9332dc20c696e47f05187f2b149e7c0e70f1f74}Calpe{1c685219c6eaca4407a72f9dc9332dc20c696e47f05187f2b149e7c0e70f1f74}' OR prCity = 'Calpe' OR prZip = 'Calpe' OR prStreet LIKE '{1c685219c6eaca4407a72f9dc9332dc20c696e47f05187f2b149e7c0e70f1f74}Calpe{1c685219c6eaca4407a72f9dc9332dc20c696e47f05187f2b149e7c0e70f1f74}' OR prCountry = 'Calpe') AND (prLocation LIKE '{1c685219c6eaca4407a72f9dc9332dc20c696e47f05187f2b149e7c0e70f1f74}Spain{1c685219c6eaca4407a72f9dc9332dc20c696e47f05187f2b149e7c0e70f1f74}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{1c685219c6eaca4407a72f9dc9332dc20c696e47f05187f2b149e7c0e70f1f74}Spain{1c685219c6eaca4407a72f9dc9332dc20c696e47f05187f2b149e7c0e70f1f74}' OR prCountry = 'Spain')